package cn.yuanqiao.archive.quanzongjuanguanli.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 全宗卷介绍对象 YQQZJJS
 * 
 * @author sy
 * @date 2023-09-20
 */
public class YqQzjjs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 全宗ID */
    @Excel(name = "全宗ID")
    private Long fondsId;

    /** 全宗构成者名称 */
    @Excel(name = "全宗构成者名称")
    private String fondsComposer;

    /** 性质 */
    @Excel(name = "性质")
    private String nature;

    /** 隶属关系 */
    @Excel(name = "隶属关系")
    private String affiliation;

    /** 租户代码 */
    @Excel(name = "租户代码")
    private String tenantCode;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long creatorId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private Long lastupdater;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastupdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFondsId() {
        return fondsId;
    }

    public void setFondsId(Long fondsId) {
        this.fondsId = fondsId;
    }

    public String getFondsComposer() {
        return fondsComposer;
    }

    public void setFondsComposer(String fondsComposer) {
        this.fondsComposer = fondsComposer;
    }

    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public String getAffiliation() {
        return affiliation;
    }

    public void setAffiliation(String affiliation) {
        this.affiliation = affiliation;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        tenantCode = tenantCode;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastupdater() {
        return lastupdater;
    }

    public void setLastupdater(Long lastupdater) {
        this.lastupdater = lastupdater;
    }

    public Date getLastupdateTime() {
        return lastupdateTime;
    }

    public void setLastupdateTime(Date lastupdateTime) {
        this.lastupdateTime = lastupdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fondsId", getFondsId())
            .append("fondsComposer", getFondsComposer())
            .append("nature", getNature())
            .append("affiliation", getAffiliation())
            .append("tenantCode", getTenantCode())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("lastupdater", getLastupdater())
            .append("lastupdateTime", getLastupdateTime())
            .toString();
    }
}
